class VersionEntity {
	int errno;
	VersionData data;
	String errmsg;

	VersionEntity({this.errno, this.data, this.errmsg});

	VersionEntity.fromJson(Map<String, dynamic> json) {
		errno = json['errno'];
		data = json['data'] != null ? new VersionData.fromJson(json['data']) : null;
		errmsg = json['errmsg'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['errno'] = this.errno;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['errmsg'] = this.errmsg;
		return data;
	}
}

class VersionData {
	String name;
	String description;
	bool force;
	String versionName;
	int versionCode;
	String url;

	VersionData({this.name, this.description, this.force, this.versionName, this.versionCode, this.url});

	VersionData.fromJson(Map<String, dynamic> json) {
		name = json['name'];
		description = json['description'];
		force = json['force'];
		versionName = json['versionName'];
		versionCode = json['versionCode'];
		url = json['url'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['name'] = this.name;
		data['description'] = this.description;
		data['force'] = this.force;
		data['versionName'] = this.versionName;
		data['versionCode'] = this.versionCode;
		data['url'] = this.url;
		return data;
	}
}
